package cn.com.eado.uwallpaper.bean;

import java.util.List;

/**
 * Created by lcy on 2015/12/23.
 */
public class CategoryBean {

    /**
     * msg : success
     * res : {"category":[{"count":33328,"filter":[],"rname":"美女","atime":1.291266021E9,"cover_temp":"567761b769401b25b3745c4e","name":"美女","cover":"http://img0.androidesk.com/download/5677ce5d69401b10325abd2e","rank":1,"icover":"567761b769401b25b3745c4e","type":1,"id":"4e4d610cdf714d2966000000"},{"count":11988,"filter":[],"rname":"情感","cover_temp":"5677f48e69401b25bbb7215b","name":"情感","cover":"http://img0.androidesk.com/download/5678068b69401b063df7c7e1","rank":2,"icover":"5677f48e69401b25bbb7215b","type":1,"id":"4ef0a35c0569795756000000"},{"count":59719,"filter":[],"rname":"风景","atime":1.291266049E9,"cover_temp":"56789e5669401b25bbb721dc","name":"风景","cover":"http://img0.androidesk.com/download/5678bd3969401b7c8e520bfd","rank":3,"icover":"56789e5669401b25bbb721dc","type":1,"id":"4e4d610cdf714d2966000002"},{"count":70435,"icover":"567835e769401b02ea46130c","rname":"动漫","atime":1.291266057E9,"cover_temp":"567835e769401b02ea46130c","name":"动漫","cover":"http://img0.androidesk.com/download/567918b294e5cc6dfc22c935","rank":4,"filter":[],"type":1,"id":"4e4d610cdf714d2966000003"},{"count":7612,"filter":[],"rname":"文字","atime":1.359601742E9,"cover_temp":"56753bc669401b25b374595d","name":"文字","cover":"http://img0.androidesk.com/download/56761a2769401b065b6fc451","rank":5,"icover":"56753bc669401b25b374595d","type":1,"id":"5109e04e48d5b9364ae9ac45"},{"count":16159,"filter":[],"rname":"明星","atime":1.359601746E9,"cover_temp":"5676aaf869401b25bbb71e8e","name":"明星","cover":"http://img0.androidesk.com/download/5677cdf869401b10325ab7f4","rank":6,"icover":"5676aaf869401b25bbb71e8e","type":1,"id":"5109e05248d5b9368bb559dc"},{"count":10799,"filter":[],"rname":"城市","cover_temp":"56762df969401b25bbb71dac","name":"城市","cover":"http://img0.androidesk.com/download/56767c9c69401b54381e9dea","rank":7,"icover":"56762df969401b25bbb71dac","type":1,"id":"4fb47a305ba1c60ca5000223"},{"count":6686,"icover":"5678e08769401b25bbb7233c","rname":"视觉","cover_temp":"5678e08769401b25bbb7233c","name":"视觉","cover":"http://img0.androidesk.com/download/56791f9869401b4a86551a7c","rank":8,"filter":[],"type":1,"id":"4fb479f75ba1c65561000027"},{"count":4336,"icover":"5678f0a569401b25b37460d3","rname":"设计","cover_temp":"5678f0a569401b25b37460d3","name":"设计","cover":"http://img0.androidesk.com/download/56791f8869401b4a86551985","rank":9,"filter":[],"type":1,"id":"4fb47a195ba1c60ca5000222"},{"count":18501,"icover":"56789ea869401b25bbb72246","rname":"物语","cover_temp":"56789ea869401b25bbb72246","name":"物语","cover":"http://img0.androidesk.com/download/5678bd9b69401b7c8e520e36","rank":10,"filter":[],"type":1,"id":"4fb47a465ba1c65561000028"},{"count":25415,"icover":"5678d64869401b25b3746073","rname":"其他","atime":1.291266067E9,"cover_temp":"5678d64869401b25b3746073","name":"其他","cover":"http://img0.androidesk.com/download/5678f55069401b71905e422c","rank":11,"filter":[],"type":1,"id":"4e4d610cdf714d2966000004"},{"count":20150,"filter":[],"rname":"机械","atime":1.297756191E9,"cover_temp":"567761b769401b25b3745c4f","name":"机械","cover":"http://img0.androidesk.com/download/5677a3ca69401b38309d8730","rank":12,"icover":"567761b769401b25b3745c4f","type":1,"id":"4e4d610cdf714d2966000005"},{"count":3714,"icover":"56789e5069401b25b3745f87","rname":"男人","atime":1.29825154E9,"cover_temp":"56789e5069401b25b3745f87","name":"男人","cover":"http://img0.androidesk.com/download/5678bd5b69401b7c8e520cfc","rank":13,"filter":[],"type":1,"id":"4e4d610cdf714d2966000006"},{"count":16025,"filter":[],"rname":"动物","atime":1.291266042E9,"cover_temp":"5677897f69401b25b3745d8c","name":"动物","cover":"http://img0.androidesk.com/download/5678064469401b063df7c456","rank":14,"icover":"5677897f69401b25b3745d8c","type":1,"id":"4e4d610cdf714d2966000001"},{"count":10937,"filter":[],"rname":"游戏","atime":1.300683934E9,"cover_temp":"5676167969401b25bbb71d32","name":"游戏","cover":"http://img0.androidesk.com/download/5676524669401b7ab998425e","rank":15,"icover":"5676167969401b25bbb71d32","type":1,"id":"4e4d610cdf714d2966000007"},{"count":9313,"filter":[],"rname":"艺术","cover_temp":"5676d16569401b02a63813c0","name":"艺术","cover":"http://img0.androidesk.com/download/5677b72a94e5cc03c7f4d60c","rank":16,"icover":"5676d16569401b02a63813c0","type":1,"id":"4ef0a3330569795757000000"},{"count":6940,"filter":[],"rname":"运动","cover_temp":"5674fdee69401b25b374593f","name":"运动","cover":"http://img0.androidesk.com/download/5676b52b69401b4a9fe1e2c9","rank":17,"icover":"5674fdee69401b25b374593f","type":1,"id":"4ef0a34e0569795757000001"},{"count":13409,"filter":[],"rname":"影视","cover_temp":"5674fdee69401b25bbb71bbe","name":"影视","cover":"http://img0.androidesk.com/download/56752b1969401b3c1acb4239","rank":18,"icover":"5674fdee69401b25bbb71bbe","type":1,"id":"4e58c2570569791a19000000"}]}
     * code : 0
     */

    private String msg;
    private ResEntity res;
    private int code;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setRes(ResEntity res) {
        this.res = res;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public ResEntity getRes() {
        return res;
    }

    public int getCode() {
        return code;
    }

    public static class ResEntity {
        /**
         * count : 33328
         * filter : []
         * rname : 美女
         * atime : 1.291266021E9
         * cover_temp : 567761b769401b25b3745c4e
         * name : 美女
         * cover : http://img0.androidesk.com/download/5677ce5d69401b10325abd2e
         * rank : 1
         * icover : 567761b769401b25b3745c4e
         * type : 1
         * id : 4e4d610cdf714d2966000000
         */

        private List<CategoryEntity> category;

        public void setCategory(List<CategoryEntity> category) {
            this.category = category;
        }

        public List<CategoryEntity> getCategory() {
            return category;
        }

        public static class CategoryEntity {
            private int count;
            private String rname;
            private double atime;
            private String cover_temp;
            private String name;
            private String cover;
            private int rank;
            private String icover;
            private int type;
            private String id;
            private List<?> filter;

            public void setCount(int count) {
                this.count = count;
            }

            public void setRname(String rname) {
                this.rname = rname;
            }

            public void setAtime(double atime) {
                this.atime = atime;
            }

            public void setCover_temp(String cover_temp) {
                this.cover_temp = cover_temp;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public void setRank(int rank) {
                this.rank = rank;
            }

            public void setIcover(String icover) {
                this.icover = icover;
            }

            public void setType(int type) {
                this.type = type;
            }

            public void setId(String id) {
                this.id = id;
            }

            public void setFilter(List<?> filter) {
                this.filter = filter;
            }

            public int getCount() {
                return count;
            }

            public String getRname() {
                return rname;
            }

            public double getAtime() {
                return atime;
            }

            public String getCover_temp() {
                return cover_temp;
            }

            public String getName() {
                return name;
            }

            public String getCover() {
                return cover;
            }

            public int getRank() {
                return rank;
            }

            public String getIcover() {
                return icover;
            }

            public int getType() {
                return type;
            }

            public String getId() {
                return id;
            }

            public List<?> getFilter() {
                return filter;
            }
        }
    }
}
